/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.kramerius.fedoraaccess.rest;

/**
 * https://wiki.duraspace.org/display/FEDORA35/FOXML+Reference+Example
 *
 * @author Martin Řehánek <rehan at mzk.cz>
 */
public enum ControllGroup {

    EXTERNALLY_REFERENCED() {
        char getCode() {
            return 'E';
        }
    },
    REDIRECTED() {
        char getCode() {
            return 'R';
        }
    },
    MANAGED() {
        char getCode() {
            return 'M';
        }
    },
    INLINE_XML() {
        char getCode() {
            return 'X';
        }
    };

    abstract char getCode();
}
